Skip to content

✨ Add num_fmt_specifiers#212

Merged
elbeno merged 1 commit intointel:mainfrom
elbeno:add-num-fmt-specs
Mar 31, 2025
Merged

✨ Add num_fmt_specifiers#212
elbeno merged 1 commit intointel:mainfrom
elbeno:add-num-fmt-specs

Conversation

@elbeno
Copy link
Contributor

@elbeno elbeno commented Mar 30, 2025

Problem:

  • There is no way for a caller to easily know how many format specifiers are in a string. This is already known to ct_format internally, and is useful information to callers.

Solution:

  • Add num_fmt_specifiers.

Note:

  • This is a building block for CIB_FATAL, allowing extra arguments to be passed along to stdx::panic.

Problem:
- There is no way for a caller to easily know how many format specifiers are in
  a string. This is already known to `ct_format` internally, and is useful
  information to callers.

Solution:
- Add `num_fmt_specifiers`.

Note:
- This is a building block for `CIB_FATAL`, allowing extra arguments to be
  passed along to `stdx::panic`.
@elbeno elbeno enabled auto-merge March 30, 2025 16:26
@elbeno elbeno merged commit 01be679 into intel:main Mar 31, 2025
36 checks passed
@elbeno elbeno deleted the add-num-fmt-specs branch April 9, 2025 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants